

<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">

<html>
<head>
<script type="text/javascript" src="helpman_topicinit.js"></script>

<title>Delete Components [Enterprise Architect User Guide]</title>

<meta name="keywords" content="Enterprise Architect, Sparx Systems, UML, Delete,Delete Elements, Quick Start,Delete Diagrams, Quick Start,Delete Packages, Quick Start,Delete Connectors, Quick Start,Quick Start,Quick Start Delete UML Model Components">
<meta http-equiv="Content-Type" content="text/html; charset=ISO-8859-1" />
<meta http-equiv="Content-Style-Type" content="text/css" />

<link type="text/css" href="default.css" rel="stylesheet" />
<style type="text/css">
  A, A:Visited
  {
    color: #00F;
  }

  A:Active, A:Hover
  {
    color: #F00;
  }

  OL
  {
    margin: 5px 0 5px 48px;
  }

  UL
  {
    margin-bottom: 3px;
    margin-top: 0;
  }

  #nsr
  {
    background-color: #D4DFFF;
  }

  #nsr A
  {
    text-decoration: none;
  }

  #mainbody
  {
    padding: 8px;
  }

  .p_BodyText
  {
    padding: 5px 0;
  }
</style>



<style type="text/css" media="screen">
  BODY
  {
    background-color: #FFFFFF;
  }

  #nsr
  {
    padding: 6px 6px 0 6px;
    border-bottom: none;
    vertical-align: top;
    z-index: 2;
    visibility: visible;
    left: 0;
    top: 0;
    position: absolute;
  }

  #mainbody
  {
    left: 0;
    top: 0;
    margin: 0;
    position: absolute;
    padding: 10px;
    overflow: auto;
    height: 100%;
    z-index: 1;
    background-repeat: no-repeat;
    background-position: bottom right;
    background-attachment: fixed;
  }
</style>

<style type="text/css" media="print">
  #nsr
  {
    visibility: none;
  }

  #mainbody
  {
    overflow: visible;
  }
</style>
<script type="text/javascript" language="JavaScript" src="nonscroll.js"></script>

</head>
<body scroll="no">

<div id="page">



        <div id="content">
          <div id="content-inner">
          



  
          <div id="nsr">
            <table border="0" cellspacing="0" cellpadding="4" width="100%">
              <tr valign="top">
                <td align="left">
  


                  <p class="p_Heading1"><span class="f_Heading1">Delete Components</span></p>



  
                </td>
                <td align="right">
                  <a href="introduction.htm" onmouseover="document.images.main.src='button_main_h.gif'" onmouseout="document.images.main.src='button_main.gif'">
                    <img name="main" src="button_main.gif" border=0 alt="Return to Introduction">
                  </a>&nbsp;
    
                  <a href="move_and_delete_components_.htm" onmouseover="document.images.prev.src='button_prev_h.gif'" onmouseout="document.images.prev.src='button_prev.gif'">
                    <img name=prev src="button_prev.gif" border=0 alt="Previous page" />
                  </a>&nbsp;
    
    
    
                  <a href="save_changes.htm" onmouseover="document.images.next.src='button_next_h.gif'" onmouseout="document.images.next.src='button_next.gif'">
                    <img name=next src="button_next.gif" border=0 alt="Next page" />
                  </a>
    
    
                </td>
              </tr>
            </table>
          </div>
          <div id="mainbody">
  


                <p class="p_BodyText"><span class="f_BodyText">You can delete the components of a model from a diagram or from the </span><span class="f_UIControl">Project Browser</span><span class="f_BodyText">.</span></p>
<p class="p_SubHeadingL1"><span class="f_SubHeadingL1">Delete From a Diagram</span></p>
<p class="p_BodyText"><span class="f_BodyText">A diagram can contain elements, connectors, packages and other diagrams. To delete any of these from the diagram, click on it and press </span><span class="f_MenuKeyField">[Delete] </span><span class="f_BodyText">on the keyboard.</span></p>
<div style="text-align: left; text-indent: 0px; padding: 0px 0px 0px 0px; margin: 5px 0px 5px 13px;"><table cellspacing="0" cellpadding="2" border="0" style="border: none; border-spacing:0px;">
<tr style="text-align:left;vertical-align:bottom;">
<td valign="bottom" width="952" bgcolor="#efeff7" style="width:952px; background-color:#efeff7;"><p class="p_TiporNote" style="border-top: none; border-right: none; border-left: none;"><span class="f_TiporNote">Notes:</span></p>
</td>
</tr>
<tr style="text-align:left;">
<td width="952" bgcolor="#f7f7ff" style="width:952px; background-color:#f7f7ff;"><ul style="text-indent: 0px; margin-left: 14px; list-style-position: outside;">
<li><span class="f_TiporNoteText">Remember that the contents of the model are listed in the </span><span class="f_UIControl">Project Browser</span><span class="f_TiporNoteText">. If you delete something from a diagram, it is not deleted from the </span><span class="f_UIControl">Project Browser</span><span class="f_TiporNoteText">. This is because you can use the same component in several diagrams at once, so you only remove the representation of the component from a diagram.</span></li>
<li><span class="f_TiporNoteText">To delete a connector from a diagram, click on it and press </span><span class="f_MenuKeyField">[Delete]</span><span class="f_TiporNoteText">. This time, Enterprise Architect prompts you to select whether to delete the connector or just hide it. Unlike elements, the same connector is not reapplied in several places, so if you delete one it is removed completely from the model.</span></li>
<li><span class="f_TiporNoteText">Connectors can get confusing on a complex diagram, so it is useful to hide some of them to clarify a specific aspect of a more complex picture. To identify and reveal hidden connectors, see the </span><span class="f_TiporNoteText" style="font-style: italic;"><a href="objectconnections.htm">Links</a> </span><span class="f_TiporNoteText">topic. However, first you should become more familiar with element and connector properties, through the </span><span class="f_TiporNoteText" style="font-style: italic;"><a href="quick_start___define_propertie.htm">Quick Start - Define Elements and Relationship Properties</a></span><span class="f_TiporNoteText"> topic.</span></li>
</ul>
</td>
</tr>
</table>
</div>
<p class="p_SubHeadingL1"><span class="f_SubHeadingL1">Delete From Project Browser</span></p>
<p class="p_BodyText"><span class="f_BodyText">To delete a package, diagram or element from the </span><span class="f_UIControl">Project Browser</span><span class="f_BodyText">, right-click on the component and select the </span><span class="f_MenuKeyField">Delete &lt;name&gt;</span><span class="f_BodyText"> menu option.</span></p>
<p class="p_BodyText"><span class="f_BodyText">For a package, this completely removes the package and all its contents - diagrams, child packages and elements - from the model.</span></p>
<p class="p_BodyText"><span class="f_BodyText">For an element, this completely removes the element and its properties, connectors, child elements and child diagrams from the model, and from every diagram that contains it.</span></p>
<p class="p_BodyText"><span class="f_BodyText">For a diagram, this completely removes the diagram and connectors from the model, but </span><span class="f_BodyText" style="font-style: italic; font-weight: bold;">not</span><span class="f_BodyText"> the diagram's component elements. They remain in the parent package.</span></p>
<p class="p_SubHeadingL1"><span class="f_SubHeadingL1">Additional Information</span></p>
<p class="p_BodyText"><span class="f_BodyText">See the <a href="save_changes.htm">Save Changes</a> topic.</span></p>
<p class="p_BodyText"><span class="f_BodyText">For </span><span class="f_BodyText">additional</span><span class="f_BodyText"> information on deleting elements, connectors and model views in Enterprise Architect, see the </span><span class="f_BodyText" style="font-style: italic;"><a href="deletingobjects.htm">Delete Elements</a> </span><span class="f_BodyText">and</span><span class="f_BodyText"> </span><span class="f_BodyText" style="font-style: italic;"><a href="deletingconnections.htm">Delete Connectors</a></span><span class="f_BodyText"> topics, and the </span><span class="f_BodyText" style="font-style: italic;"><a href="o1543.htm">Delete Views</a></span><span class="f_BodyText"> topic.</span></p>




            </div>
          </div>
        </div>



</div>


</body>
</html>
